package com.siyu.basedata.rainsence.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.siyu.basedata.pptnrsence.domain.PptnRSence;
import com.siyu.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * 降雨情景对象 t_rain_sence
 *
 * @author hrhy
 * @date 2024-07-04
 */
@TableName("t_rain_sence")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RainSence {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 降雨情景名称
     */
    @Excel(name = "降雨情景名称")
    private String senceName;

    /**
     * 降雨情景描述
     */
    @Excel(name = "降雨情景描述")
    private String senceDetail;

    /**
     * 水库编码
     */
    @Excel(name = "水库编码")
    private String rscd;

    /**
     * 预报类型
     */
    @Excel(name = "预报类型")
    private String preType;

    /**
     * 额外字段1
     */
    @Excel(name = "额外字段1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 额外字段2
     */
    @Excel(name = "额外字段2")
    private String extend2;

    @TableField(exist = false)
    private List<PptnRSence> datas;

}
